package com.cosmo.demo;

public class StaticSingleton {

    private StaticSingleton (){

    }

    private static class SingletonHoler{
        private static final StaticSingleton INSTANCE = new StaticSingleton();
    }

    public static StaticSingleton getInstance() {
        return SingletonHoler.INSTANCE;
    }

}
